package com.rxyb.authority.gateway.dto.user;

import com.rxyb.authority.gateway.dto.BaseReq;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 获取用户信息请求
 *
 * @author duyh
 * @date 2020/5/28
 */
@Data
public class LoginReq extends BaseReq {

    /**
     * 用户名/真实姓名/邮箱/联系方式/微信标识
     */
    @NotNull
    @Size(max = 30, message = "loginName 不超过30位")
    private String loginName;

}
